package com.clay.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.clay.appointment.entity.user.UserInfo;
import com.clay.appointment.vo.user.LoginVo;

import java.util.Map;

/**
 * @Author : clay
 * @Description:
 * @Date: Create in 15:44 2021/8/25
 * @Modified By:clay
 */
public interface UserInfoService extends IService<UserInfo> {
    /**
     * 验证用户登录设置token
     * @param loginVo 用户信息
     * @return 用户登录信息以及token的map
     */
    Map<String, Object> loginUser(LoginVo loginVo);
}
